package com.woniuxy.lab.woniu_lab.service.dto.getOrederDto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ApiModel("订单详细")
public class QueryOderDto {

    /**
     * 消费单号
     */
    @ApiModelProperty(value = "消费单号",example = "AS2664456574")
    private String no;

    /**
     * 购买的靶场ID(VIP服务为-1，终身会员为-2)
     */
    @ApiModelProperty(value = "靶场ID",example = "如果购买为VIP(VIP服务为-1，终身会员为-2)")
    private Integer itemId;

    /**
     * 消费内容(CTL/EXPER/VIP/FVIP)
     */
    @ApiModelProperty(value = "消费内容",example = "CTF/EXPER/VIP/FVIP")
    private String info;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间",example = "2023-03-16 12:16:23")
    private LocalDateTime createTime;

    /**
     * 消费金额
     */
    @ApiModelProperty(value = "消费金额",example = "50")
    private BigDecimal money;

}
